#include <stdio.h>
#include <stdlib.h>

#define N 3

struct pNode{
    int ID;
    int age;
    char name[20];
};

int main(void)
{
    int n = N;

    struct pNode stus[N];

    for (int i = 0; i < n; i ++)
    {
        printf("input ID for person %d\n", i);

        scanf("%d", &stus[i].ID);
        
        printf("input age for person %d\n", i);

        scanf("%d", &stus[i].age);
        
        printf("input name for person %d\n", i);

        scanf("%s", stus[i].name);
    }

    return 0;
}





